A. grep
B. wc
C. touch
D. cat
Advertisement
Related Mcqs:
- Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ?
- A. copy programs/wb misc/wbx B. cp programs/wb misc/wbx C. tar programs/wb misc/wbx D. copy a:programs/wb b:misc/wbx...
- Which of the following commands is used to obtain a list of all files by modification time ?
- A. ls -1 B. ls -t C. ls -i D. ls -R...
- Which of the following commands is used to assign executable permission to the owner of the file named “note” ?
- A. chmod g+x note B. chmod u+w note C. chmod u+x note D. chmod ugo+x note...
- Which of the following commands is used to rename a file ?
- A. rename B. remove C. mv D. ren...
- Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file ?
- A. ls -F -x B. ls -l C. ls ~ x D. Ip...
- Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?
- A. who | tee user.lst B. who > user.lst C. who >> user.lst D. who < user.lste...
- Which of the following commands is used to count the total number of lines, words, and characters contained in a file ?
- A. count p B. wc C. wcount D. countw...
- Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ?
- A. find -mtime +365 | rm B. grep (/usr/*) – mtime + 365 | -ok rm C. find -name – mtime + 365 / – ok rm D. find /user/* \(-mtime + 365 – a – atime +365 \) – OK rm {} \;...
- Which of the following commands is used to identify the type of file by context ?
- A. ls B. cat C. file D. more...
- Which of the following commands is used to view your file 24 lines at a time ?
- A. pg B. cat C. lp D. /p...
Advertisement